/*导航部分开始*/
.header-wrap{
    background-color: #f5f5f5;
    width: 100%;
    height:40px;
    position: fixed;
    z-index: 200;
}
.header {
    background-color: #fff;
}
.header-top{
    height:40px;
    line-height: 40px;
}
.header-fix{
    display: none;
    width: 100%;
    padding-top: 40px;
    z-index: 150;
    background-color: rgba(255,255,255,0.9);
    position: fixed;
}
.all-goods1{
    margin: 0 145px 20px 0!important;
}
.search-group1{
    width: 687px!important;
    margin-top: 5px;
}
.header-top ul li{
    float: left;
}
.header-top ul li span,.header-top ul li a{
    font-size: 14px;
    color:#666;
    cursor: pointer;
    padding: 0 12px;
}
.header-top ul li span:hover,.header-top ul li a:hover,.nav-item li a:hover{
    color: #ca3232;
}
.header-top ul li span{
    border-right: 1px solid #666;
}
.header-top-content .border-n span{
    border-right: none;
}
.register a{
    border-left: 1px solid #666;
}
.common-icon{
    width: 16px;
    height: 16px;
    display: inline-block;
    margin: 0 8px 0 0;
    vertical-align: -3px;
    -webkit-transition: all .4s ease;
}
.login-icon{
    background: url("../img/common_icon.png")no-repeat -32px 0;
}
.login:hover .login-icon{
    background-position: -32px -16px;
}
.cart-icon{
    background: url("../img/common_icon.png")no-repeat -48px 0;
}
.cart:hover .cart-icon{
    background-position: -48px -16px;
}
.arrow-wrap{
    position: absolute;
    top:465px;
    left:0;
    z-index: 12;
    width: 240px;
    height:17px;
    background-color: #ca3232;
}
.arrow-wrap span{
    position: absolute;
    bottom: 4px;
    left: 50%;
    margin-left: -10px;
}
.arrow{
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-color: #fff;
    position: absolute;
    top: -16px;
}
.arrow1{
    width: 0;
    height: 0;
    border-top:7px solid #fff;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    position: absolute;
    top:-7px;
}
.health1{
    padding: 3px 0 6px;
}
.hover-detail{
    display: none;
}
.header-item li{
    position: relative;
}
.arrow-up{
    position: absolute;
    left: 20px;
    top: -11px;
    width: 0;
    height: 0;
    border-bottom: 7px solid #d8d8d8;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}
@keyframes top_animation
{
    0%   {top: 100px;}
    25%  {top: 80px;}
    50%  {top: 60px;}
    100% {top: 40px;}
}

@-webkit-keyframes top_animation /* Safari 和 Chrome */
{
    0%   {top: 100px;}
    25%  {top: 80px;}
    50%  {top: 60px;}
    100% {top: 40px;}
}
.header-item li:hover .hover-detail{
    display: block;
    animation: top_animation .3s ease-in 0s;
    -webkit-animation: top_animation .3s ease-in 0s;
}
.hover-detail{
    position: absolute;
    top:40px;
    padding:12px;
    background-color: #fff;
    border:4px solid #ddd;
    z-index: 22;
}
.phone-wrap{
    width: 165px;
    height:33px;
    text-align: center;
}
.phone-wrap span{
    font-size: 18px!important;
    color: #ca3232 !important;
}
.phone{
    display: inline-block;
    background: url("../img/common_icon.png")no-repeat 0 -255px;
    width:20px;
    height:23px;
    vertical-align: -3px;
    margin-left: 5px;
}
#goods-list{
    display: none;
}
/*导航部分结束*/
/*头部文件开始*/
.header-middle{
    padding-top: 64px;
}
.search-content .search-text{
    margin-top: 8px;
}
.search-content .search-text  li{
    float: left;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
    border-left: 1px solid #9b9b9b;
}
.search-content .search-text  li:first-child{
    padding: 0 12px 0 0;
    border-left: none;
}
.search-text li a{
    color:#9b9b9b;
}
.search-group{
    width: 491px;
    height:40px;
    border:2px solid #ca3232;
    position: relative;
}
.magnifier{
    display: inline-block;
    background: url("../img/common_icon.png")no-repeat 0 -32px;
    width:18px;
    height:18px;
    position: absolute;
    top: 9px;
    left: 11px;
}
.search-goods{
    display: inline-block;
    width: 360px;
    height: 36px;
    border: none;
    line-height: 36px;
    padding-left: 36px;
    font-size: 16px;
}
.search-btn{
    width: 80px;
    height: 36px;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    background: #ca3232;
    border: none;
}
.search-content{
    margin-top: 10px;
}
.nav-item li{
    float: left;
    padding: 11px 26px;
}
/*头部文件结束*/
/*头部分类开始*/
.header-nav{
    margin-top: 25px;
}
.all-goods{
    font-weight: bold;
    color: #fff;
    background: #ca3232;
    width: 240px;
    margin: 0 26px 0 0;
    padding: 13px 66px;
    position: relative;
    cursor: pointer;
}
.all-goods i{
    display: inline-block;
    width: 19px;
    height: 18px;
    background: url("../img/common_icon.png") -19px -32px no-repeat;
    position: absolute;
    top: 15px;
    left: 19px;
}
.nav-item li a{
    color: #333;
    font-size: 18px;
}
.nav-item li.on a{
    color: #ca3232;
}
.all-goods-wrap{
    position: relative;
}
.all-goods-classify{
    background-color:rgba(202,50,50,0.8);
    width: 240px;
    height:420px;
    overflow: hidden;
    position: absolute;
    z-index: 100;
}
.all-goods-classify dl{
    width: 208px;
    margin: 0 auto;
    border-bottom: 1px dotted #fff;
}
.all-goods-classify dl:last-child{
    border-bottom: none;
}
.all-goods-classify dl a{
    color:#fff;
}
.all-goods-classify .common-icon1{
    display: inline-block;
    background: url("../img/common_icon.png");
    width: 25px;
    height:25px;
    vertical-align: -3px;
    margin: 0 12px 0 0;
}
.all-goods-classify .health{
    background-position: 0 -50px;
}
.all-goods-classify .nurse{
    background-position: 0 -75px;
}
.all-goods-classify .food{
    background-position: 0 -98px;
}
.all-goods-classify .Living-goods{
    background-position: 0 -122px;
}
.all-goods-classify .nutrition{
    background-position: 0 -145px;
}
.all-goods-classify dl dt{
    padding: 12px 0 6px;
}
.all-goods-classify dl dd{
    font-size: 14px;
    padding: 3px 0 6px;
}
.all-goods-classify dl dd a{
    display: inline-block;
    margin-right: 13px;
}
/*banner部分*/
.banner{
    position: relative;
    border-top: 2px solid #ca3232;
    height: 450px;
    margin: 0 auto;
    overflow: hidden;
}
.banner a{
    display: block;
}
.banner img{
    position: absolute;
    margin-left: -287px;
}
/*精选食品部分*/
.content{
    background-color: #f5f5f5;
    padding: 25px 0 20px 0;
}
h2{
    font-weight: bold;
}
.food-wrap{
    margin-bottom: 20px;
}
.content .food-wrap:last-child{
    margin-bottom: 0px;
}
.food-item li{
    float: left;
    padding: 10px 12px;
    margin: 0 10px;
    cursor: pointer;
    color:#9b9b9b;
    font-size:18px;
}
.food-nav{
    border-bottom: 1px solid #ca3232;
}
.food-content{
    background-color: #fff;
}
.foods-item li{
    float: left;
    border-right:1px solid #e8e8e8;
}
.foods-item li a img{
    display: inline-block;
    width: 250px;
    height: 250px;
}
.foods-item li a{
    display: inline-block;
    text-align: center;
    padding: 6px 6px 10px;
}
.food-title{
    width: 250px;
    margin: 15px 0 0;
    height: 27px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
}
.food-contents,.food-contents li{
    height:370px;
}
.old-price{
    margin: 0 15px 0 0;
    text-decoration: line-through;
    color: #ccc;
}
.new-price{
    font-size: 22px;
    color: #ca3232;
}
.food-sale{
    color:#9b9b9b;
    margin-bottom: 7px;
    font-size: 12px;
}
.food-sale span{
    display: inline-block;
    color:#000;
    margin: 0 5px;
}
.foods-brand{
    border-left:1px solid #e8e8e8;
}
.foods-brand li a img{
    display: inline-block;
    width: 138px;
    height: 62px;
}
.foods-brand li a{
    display: inline-block;
    border-bottom: 1px solid #e8e8e8;
}
.foods-brand li:last-child a{
    border-bottom:none;
}
.food-contents>li{
    position: absolute;
    display: none;
}
.food-contents>li:first-child{
    display: block;
}
.foods-item li a:hover{
    box-shadow: 4px 15px 30px rgba(0,0,0,.1);
    overflow: hidden;
    transition: all .4s ease;
    -webkit-transition: all .4s ease;
    transform: translate3d(0,-6px,0);
    -webkit-transform: translate3d(0,-6px,0);
}
/*结尾部分*/
.footer{
    padding: 13px 0 25px;
    box-shadow: 0 0 5px rgba(0,0,0,.15);
}
.footer-top>ul>li{
    float: left;
    width: 237px;
    padding: 23px 12px 0 50px;
}
.footer-top>ul>li>h3{
    font-weight: bold;
    margin-bottom: 19px;
}
.footer-top>ul>li>ul{
    border-right: 1px dotted #979797;
}
.footer-top>ul>li>ul>li{
    padding: 6px 0;
}
.footer-top>ul>li>ul>li>a{
    font-size: 16px;
    color:#9b9b9b;
}
.footer-center{
    padding: 20px 0;
    background: #ca3232;
}
.footer-item>li{
    float: left;
    padding-left: 63px;
    height: 63px;
    width: 357px;
    border-right: 1px solid #fff;
}
.footer-item>li:last-child{
    border-right:none;
}
.footer-text{
    margin-top: 4px;
}
.footer-text h2{
    font-size: 20px;
    color:#fff;
}
.footer-text p{
    font-size: 16px;
    width: 180px;
    color: #E9AAAA;
}
.footer-icon{
    display: inline-block;
    width:54px;
    height:54px;
    background:url("../img/common_icon.png")no-repeat;
    margin: 4px 25px 0 0;
}
.footer-icon1{
    background-position:-24px -50px;
}
.footer-icon2{
    background-position:-27px -104px;
}
.footer-icon3{
    background-position:-27px -190px;
}
.sprite{
    width: 128px;
    height: 47px;
    background: url("../img/sprite.png") no-repeat;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}
.sprite1{
    background-position: -452px -303px;
}
.sprite2{
    background-position: -322px -303px;
}
.footer-bottom{
    text-align: center;
    color: #666;
}
.hot-phone{
    padding:12px 0;
}
.hot-phone span{
    padding:0 8px;
}
.copyright{
    font-size: 13px;
}
.footer-pic{
    margin:10px 0 0 240px;
}
.footer-pic a{
    float: left;
    margin-left: 10px;
}
/*侧边栏固定定位*/

.silder-common{
    background: url("../img/common_icon.png")no-repeat;
    width: 23px;
    height:26px;
}
.silder-p{
    background-position:-107px 0;
}
.silder-f{
    background-position:-107px -26px;
}
.silder-d{
    background-position:-107px -50px;
}
.silder-n{
    background-position:-107px -78px;
}